// -----------------------------------------------------------------------
//  <copyright file="SmtpOptions.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2022 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2022-12-25 18:10</last-date>
// -----------------------------------------------------------------------

namespace Shares.Infrastructure.Net;

public class SmtpOptions
{
    public const string Position = "Smtp";

    /// <summary>
    /// 获取或设置 邮件发送服务器
    /// </summary>
    public string? Host { get; set; }

    /// <summary>
    /// 获取或设置 端口
    /// </summary>
    public int Port { get; set; }

    /// <summary>
    /// 获取或设置 是否SSL
    /// </summary>
    public bool EnableSsl { get; set; }

    /// <summary>
    /// 获取或设置 发送方显示名
    /// </summary>
    public string? DisplayName { get; set; }

    /// <summary>
    /// 获取或设置 发送方用户名
    /// </summary>
    public string? UserName { get; set; }

    /// <summary>
    /// 获取或设置 发送方密码
    /// </summary>
    public string? Password { get; set; }
}
